$hintBorder: 1px solid rgb(204, 204, 204);
$hintBgColor: #fff;

.music_icon {
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-size: 100%;
    position: absolute;
    z-index: 10;
    text-decoration: none;
    color: #fff;
    font-size: 27px;
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    .music_line {
        position: absolute;
        left: 0;
        top: 50%;
        width: 100%;
        border: 1px solid #fff;
        transform: rotate(30deg);
        display: none;
    }
    .music_hint {
        position: absolute;
        border-radius: 6px;
        font-size: 12px;
        white-space: pre;
        right: 0;
        padding: 5px 10px;
        color: rgba(54, 29, 26, 0.58);
        border: $hintBorder;
        background: $hintBgColor;
        line-height: 20px;
        .music_triangle {
            display: block;
            width: 10px;
            height: 10px;
            position: absolute;
            top: -6px;
            right: 20px;
            border-top: $hintBorder;
            border-right: $hintBorder;
            border-bottom: $hintBorder;
            border-left: $hintBorder;
            border-right-color: transparent;
            border-bottom-color: transparent;
            transform: rotate(50deg);
            background: $hintBgColor;
        }
    }
    &.music_start {
        transition-duration: 1s;
        animation: rotate 3s linear infinite;
        .music_line{
            display: none;
        }
        .music_hint {
            display: none;
        }
    }
    &.music_stop {
        animation: none;
        .music_line{
            display: block;
        }
    }
}

@keyframes rotate{
    from{
        transform: rotate(0deg)
    }
    to{
        transform: rotate(360deg)
    }
}

@font-face {
    font-family: 'icon_cy';
    src: url('//at.alicdn.com/t/font_1234450_7sbwm32f0vv.eot');
    src: url('//at.alicdn.com/t/font_1234450_7sbwm32f0vv.eot?#iefix') format('embedded-opentype'),
    url('//at.alicdn.com/t/font_1234450_7sbwm32f0vv.woff2') format('woff2'),
    url('//at.alicdn.com/t/font_1234450_7sbwm32f0vv.woff') format('woff'),
    url('//at.alicdn.com/t/font_1234450_7sbwm32f0vv.ttf') format('truetype'),
    url('//at.alicdn.com/t/font_1234450_7sbwm32f0vv.svg#icon_cy') format('svg');
}

.icon_cy {
    font-family: icon_cy;
}

